package com.zjj.lbw.designpattern.proxy.cglib;

/**
 * @author zhanglei.zjj
 * @description cglib动态代理-具体主题类（委托类）
 * @date 2023/7/13 23:15
 */
public class CglibHelloClass {
    public String sayHello(String userName) {
        System.out.println("目标对象的方法执行了");
        return userName + " sayHello";
    }

    public String sayByeBye(String userName) {
        System.out.println("目标对象的方法执行了");
        return userName + " sayByeBye";
    }
}
